public class Main {
    public static int add(int a,int b){
        return a+b;
    }
    public static double add(double a,double b,double c){
        return a+b+c;
    }
    public static void main(String[] args) {
        System.out.println("整数求和：a+b="+add(1,2));
        System.out.println("小数求和：a+b+c="+add(1.5,3.8,2.7));
    }
}